<div class="orderInfo tableform" id="comment_gask_<{$comment.comment_id}>" >
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr>
      <td colspan="2"><h3 style="padding:0 0 0 17px"><{t}>留言信息<{/t}></h3></td>
    </tr>
    </tr>
    <td colspan="2" style="border:1px solid #ddd; border-left:none; border-right:none">
    <div class="discuss-pro ">
         <ul >
            <li>
              <label><{t}>发表人：<{/t}></label>
              <{$comment.author}> </li>
              <li>
              <label><{t}>联系方式：<{/t}></label>
             <a href="mailto:<{$comment.contact|nl2br}>" target="_self"><{$comment.contact|nl2br}></a></li>
            <li>
              <label><{t}>发表时间：<{/t}></label>
              <{$comment.time|cdate:SDATE_STIME}></li>
            <li>
              <label><{t}>发表人IP：<{/t}></label>
              <{$comment.ip}></li>

              <{foreach from=$tree item=contact name=contact}>

      <li>
         <label><{$contact.attr_name}>：</label>
     <{if $contact.attr_tyname eq 'QQ' && $contact.value !=''}>
     <a target="_self" href="tencent://message/?uin=<{$contact.value}>&&Site=www.shopex.cn&&Menu=yes"><img border="0" SRC='http://wpa.qq.com/pa?p=1:<{$contact.value}>:1' title="<{$contact.value}>"></a>



      <{/if}><{if $contact.attr_tyname eq 'MSN' && $contact.value !=''}>
      <a  target="_self" href="msnim:chat?contact=<{$contact.value}>"><img width="16" height="16" border="0" src="http://www.wlmessenger.net/static/img/presence/Online.gif" title="<{$contact.value}>"/></a>


      <{/if}>
      <{if $contact.attr_tyname eq $___b2c='旺旺'|t:'b2c' && $contact.value !=''}>
     <a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid=<{$contact.value}>&s=1" ><img border="0" src="http://amos1.taobao.com/online.ww?v=2&uid=<{$contact.value}>&s=1" title="<{$contact.value}>"/></a>

      <{/if}>

      <{if $contact.attr_tyname eq 'Skype' && $contact.value !=''}>
     <a href="skype:<{$contact.value}>?call"  target="_self"onclick="return skypeCheck();"><img src="http://mystatus.skype.com/smallclassic/<{$contact.value}>" style="border: none;" alt="Call me!"title="<{$contact.value}>" /></a>

      <{/if}>
     </li>
        <{/foreach}>
          </ul></div>
          </td></tr>
          <tr>
        <td class="OtherInfo">

       <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr><td colspan="2"><h3 style="padding:0 0 0 15px"><{t}>发表内容<{/t}></h3></td></tr>
             <tr><td align="right" width="8%"><{t}>标题：<{/t}></td><td><{$comment.title|nl2br}></td></tr>
             <tr><td align="right"><{t}>内容：<{/t}></td><td><{$comment.comment|nl2br}></td></tr>
             <tr><td>&nbsp;</td>
        <td style="border-bottom:1px solid #ddd;border-top:1px solid #ddd"><{if count($reply) > 0}>

            <{foreach from=$reply item=items}>
            <h5 style="padding:0; border:none; font-weight:normal"><{$items.author}><{if $items.levelname!=""}> [<{$items.levelname}>]<{/if}><{t}>于<{/t}><b class="assis">[<{$items.time|cdate:SDATE_STIME}>]</b><{t}>回复：<{/t}><span> [<a href="index.php?app=b2c&ctl=admin_member_shopbbs&act=delete_reply&p[0]=<{$items.comment_id}>&finder_id=<{$env.get._finder.finder_id}>"><{t}>删除回复<{/t}></a>]</span></h5>
            <{if $object_type=='message'}>
     <{t}> 标题:<{/t}> <{$items.title|nl2br}><br>
       <{/if}>

            	<{t}>内容：<{/t}><{$items.comment|nl2br}>
            <{/foreach}>
        <{/if}></td></tr>
       <tr><td align="right"><{t}>回复用户：<{/t}></td><td>  <{if $object_type=='message'}>
       <input type="text" class="inputstyle" value="<{$comment.title|nl2br}>" name="title"/><br/><br/>

       <{/if}>
        <input type="hidden" value="<{$comment.comment_id}>" name="comment_id"/>
        <{input type="textarea" class="inputstyle" name="reply_content" style=" width:100%" rows=7}></td></tr>
        	<tr>
    <td colspan="2" class="table-action">
    	<{button label=$___b2c="立即回复" |t:'b2c' onclick="W.page('index.php?app=b2c&ctl=admin_member_shopbbs&act=to_reply&p[0]={$comment.comment_id}&p[1]=ssss&finder_id={$env.get._finder.finder_id}', {data:$('comment_gask_{$comment.comment_id}'),method:'post'})"}></td></tr>
      </table>
      <td></tr>
    </table>
</div>
